package com.sky.mapper;

import com.sky.entity.OrderDetail;

import java.util.List;

public interface OrderDetailMapper {
    /**
     * 添加订单详细信息
     * @param orderDetails
     */
    void insert(List<OrderDetail> orderDetails);

    /**
     * 根据订单id查询菜品详细
     * @param id
     * @return
     */
    List<OrderDetail> getByOrderId(Long id);
}
